package client.comm.commlib.coroutines

import androidx.annotation.MainThread
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.whenStateAtLeast
import kotlinx.coroutines.*
import kotlin.coroutines.CoroutineContext

class BackTask {
    val owner: LifecycleOwner

    constructor(owner: LifecycleOwner) {
        this.owner = owner
    }



    suspend fun runBackSuspend(block: suspend () -> Unit?) {

        withContext(Dispatchers.IO){

        }
    }


}